package com.qys.livesMall.app.user.service.impl;

import com.qys.livesMall.app.user.model.dto.sys.SysHomeStatisticsDTO;
import com.qys.livesMall.app.user.model.entity.UserStatisticsYesterdayInfo;
import com.qys.livesMall.app.user.mapper.UserStatisticsYesterdayInfoMapper;
import com.qys.livesMall.app.user.model.vo.sys.SysHomeStatisticsVO;
import com.qys.livesMall.app.user.service.UserStatisticsYesterdayInfoService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 
 * @since 2023-08-12
 */
@Service
public class UserStatisticsYesterdayInfoServiceImpl extends ServiceImpl<UserStatisticsYesterdayInfoMapper, UserStatisticsYesterdayInfo> implements UserStatisticsYesterdayInfoService {

    @Override
    public UserStatisticsYesterdayInfo getYesterday(int type, int userSysType) {
        return baseMapper.getYesterday(type,userSysType);
    }

    @Override
    public UserStatisticsYesterdayInfo getToday(int type, int userSysType) {
        return baseMapper.getToday(type,userSysType);
    }

    @Override
    public SysHomeStatisticsVO getListbyDatatime(SysHomeStatisticsDTO dto) {
        return baseMapper.getListbyDatatime(dto);
    }
}
